package cn.school.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.school.entity.Subject;

public interface SubjectDao {
	public int add(Subject s);

	public int deleById(long id);

	public int update(Subject s);

	public List<Subject> getAllInfo(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

	public List<Subject> paging(Map map);

	public int total();

	public List<Subject> fuzzy(String name);

}
